import Vue from 'vue'
import App from '@/App'
import store from '@/store'
import MpvueRouterPatch from 'mpvue-router-patch'

import Hack from '@/utils/hack'
import http from '@/http/api'
import native from '@/utils/wxApi/native'
import tip from '@/utils/tip'

Vue.use(Hack)
Vue.use(MpvueRouterPatch)
Vue.config.productionTip = false


Vue.prototype.$http = http
Vue.prototype.$native = native
Vue.prototype.$tip = tip
Vue.prototype.$shareDefInfo = {
    title: "奇途",
    path: "/pages/home"
};

const app = new Vue({
    mpType: 'app',
    store,
    ...App
})
app.$mount()